package cn.stylefeng.guns.modular.business.frequency.cmcompany.model.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description:
 * @Author jzy
 * @Date 2021/9/24 0024
 **/
@Data
@ApiModel
public class LinkmanCheckVO {

    @ApiModelProperty(required = true, value = "联系人ID")
    @NotNull(message = "联系人ID不能为空")
    private Long id;
    @ApiModelProperty(required = true, value = "联系人姓名")
    @NotBlank(message = "联系人姓名不能为空")
    private String name;
    @ApiModelProperty(required = true, value = "联系人电话")
    @NotBlank(message = "联系人电话不能为空")
    private String phone;
    @ApiModelProperty(required = true, value = "公司ID")
    @NotNull(message = "公司ID不能为空")
    private Long companyId;
    @ApiModelProperty(required = true, value = "公司名称")
    @NotBlank(message = "公司名称不能为空")
    private String companyName;
    @ApiModelProperty(required = true, value = "公司类型")
    @NotNull(message = "公司类型不能为空")
    private Integer companyType;
    @ApiModelProperty(required = true, value = "公司是否月结")
    @NotNull(message = "公司是否月结不能为空")
    private Integer companyNature;

    @ApiModelProperty("所在城市")
    private String city;

    private String createUserName;
    private Date createTime;
}
